package marchsoft.modules.four.h5.service.Impl;

import marchsoft.modules.four.common.entity.StudyData;
import marchsoft.modules.four.h5.mapper.StudyCaseMapper;
import marchsoft.modules.four.h5.service.StudyCaseService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudyCaseServiceImpl implements StudyCaseService {

    private final StudyCaseMapper studyCaseMapper;

    public StudyCaseServiceImpl(StudyCaseMapper studyCaseMapper) {
        this.studyCaseMapper = studyCaseMapper;
    }

    @Override
    public List<StudyData> getEStudyDataFront1(long safeTypeId) {
        return studyCaseMapper.selectEstudyByid(safeTypeId);
    }
}
